package com.example.demo.feign;

import com.example.common.res.CommonResponse;
import com.example.pojo.Demo;
import org.springframework.stereotype.Component;

@Component
public class DemoFeignClientBack implements DemoFeignClient{
    @Override
    public CommonResponse<Demo> demo(Demo req) {
        return CommonResponse.success(Demo.builder().key2("error").key1("error").build());
    }
}
